package com.cnswhy.cloud.server.merchant.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.cnswhy.cloud.server.common.entity.enumeration.TransType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author cnswhy
 * @since 2020-10-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "testGetSumMoneyBySettDateAndTransTypeDTO", description = "")
public class TestGetSumMoneyBySettDateAndTransTypeDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 钱包类型 #TransType{WITHDRAW:提现;CHARGE:充值;}
     */
    @ApiModelProperty(value = "钱包类型 #TransType{WITHDRAW:提现;CHARGE:充值;}")
    @NotNull(message = "钱包类型 #TransType{WITHDRAW:提现;CHARGE:充值;}不能为空")
    private TransType transType;
    @ApiModelProperty(value = "清算日期")
    @NotEmpty(message = "清算日期不能为空")
    @Length(max = 32, message = "清算日期长度不能超过20")
    private String settDate;
}
